package top.z98242312.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zyz
 * @site
 * @company
 * @Email 1479787237@qq.com
 * @create 2020-09-04 14:19
 */
@FeignClient("nacos-provider")
public interface ProviderClient {

    @GetMapping("/hi")
    String hi(@RequestParam(value = "name",defaultValue = "zyz",required = false) String name);
}
